package com.petsdar.pojo;

import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * Created with IntelliJ IDEA
 * User: heroC
 * Date: 2020/6/27
 * Time: 18:18
 * Description: 店长登录账户类
 * Version: V1.0
 */

@Component
public class KeeperAccount implements Serializable {
    private static final long serialVersionUID = 62718181130L;
    /** 店长账户ID */
    private String keeperAccountId;
    /** 店长账户登录名 */
    private String keeperAccountLoginName;
    /** 店长账户登录密码 */
    private String keeperAccountLoginPwd;
    /** 店长账户所属店铺 */
    private String keeperAccountShop;
    /** 店长账户拥有者姓名 */
    private String keeperAccountUser;
    /** 店长账户信息创建时间 */
    private Date ktCreateTime;
    /** 店长账户信息更新时间 */
    private Date ktUpdateTime;

    public KeeperAccount() {
    }

    public KeeperAccount(String keeperAccountId,
                         String keeperAccountLoginName,
                         String keeperAccountLoginPwd,
                         String keeperAccountShop,
                         String keeperAccountUser,
                         Date ktCreateTime,
                         Date ktUpdateTime) {
        this.keeperAccountId = keeperAccountId;
        this.keeperAccountLoginName = keeperAccountLoginName;
        this.keeperAccountLoginPwd = keeperAccountLoginPwd;
        this.keeperAccountShop = keeperAccountShop;
        this.keeperAccountUser = keeperAccountUser;
        this.ktCreateTime = ktCreateTime;
        this.ktUpdateTime = ktUpdateTime;
    }

    public KeeperAccount(String keeperAccountId,
                         String keeperAccountLoginName,
                         String keeperAccountLoginPwd,
                         String keeperAccountShop,
                         String keeperAccountUser,
                         Date ktUpdateTime) {
        this.keeperAccountId = keeperAccountId;
        this.keeperAccountLoginName = keeperAccountLoginName;
        this.keeperAccountLoginPwd = keeperAccountLoginPwd;
        this.keeperAccountShop = keeperAccountShop;
        this.keeperAccountUser = keeperAccountUser;
        this.ktUpdateTime = ktUpdateTime;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getKeeperAccountId() {
        return keeperAccountId;
    }

    public void setKeeperAccountId(String keeperAccountId) {
        this.keeperAccountId = keeperAccountId;
    }

    public String getKeeperAccountLoginName() {
        return keeperAccountLoginName;
    }

    public void setKeeperAccountLoginName(String keeperAccountLoginName) {
        this.keeperAccountLoginName = keeperAccountLoginName;
    }

    public String getKeeperAccountLoginPwd() {
        return keeperAccountLoginPwd;
    }

    public void setKeeperAccountLoginPwd(String keeperAccountLoginPwd) {
        this.keeperAccountLoginPwd = keeperAccountLoginPwd;
    }

    public String getKeeperAccountShop() {
        return keeperAccountShop;
    }

    public void setKeeperAccountShop(String keeperAccountShop) {
        this.keeperAccountShop = keeperAccountShop;
    }

    public String getKeeperAccountUser() {
        return keeperAccountUser;
    }

    public void setKeeperAccountUser(String keeperAccountUser) {
        this.keeperAccountUser = keeperAccountUser;
    }

    public Date getKtCreateTime() {
        return ktCreateTime;
    }

    public void setKtCreateTime(Date ktCreateTime) {
        this.ktCreateTime = ktCreateTime;
    }

    public Date getKtUpdateTime() {
        return ktUpdateTime;
    }

    public void setKtUpdateTime(Date ktUpdateTime) {
        this.ktUpdateTime = ktUpdateTime;
    }

    @Override
    public String toString() {
        return "KeeperAccount{" +
                "keeperAccountId='" + keeperAccountId + '\'' +
                ", keeperAccountLoginName='" + keeperAccountLoginName + '\'' +
                ", keeperAccountLoginPwd='" + keeperAccountLoginPwd + '\'' +
                ", keeperAccountShop='" + keeperAccountShop + '\'' +
                ", keeperAccountUser='" + keeperAccountUser + '\'' +
                ", ktCreateTime=" + ktCreateTime +
                ", ktUpdateTime=" + ktUpdateTime +
                '}';
    }
}
